package controllers

import (
	"gateway-api/tools"

	"github.com/gin-gonic/gin"
)

type ElasticSearchController struct {
	BaseController
}

func (control ElasticSearchController) Index(ctx *gin.Context) {
	tools.NewPluginElasticSearch()
	control.BaseSuccess(ctx, control.WithMessage("欢迎使用elasticSearch"))
}
